Hi,
for h in o do {
historyType = h.type
if(historyType==createLink) {
// get outgoing link info
for l in o -> "*" do {
LinkMod = module l
println(h.targetAbsNo)
}
}
}
PatrickGuay - Thu Mar 15 08:52:06 EDT 2012 |
Re: Obtain In-comming link information using history (createLink)
Triggered the post of the message pre-maturely (my bad)
for h in o do {
historyType = h.type
if(historyType==createLink) {
// get outgoing link info
for l in o -> "*" do {
LinkMod = module l
println(h.targetAbsNo)
println(goodStringOf(historyType))
}
//get Incomming link info
for l2 in o2 <- "*" do {
println(" DEBUG INCOMING SOURCE abs No : " sourceAbsNo(l2) "")
println(" DEBUG INCOMING TARGET abs No : " targetAbsNo(l2) "")
println(goodStringOf(historyType), 2)
}
}
}
|
Re: Obtain In-comming link information using history (createLink) PatrickGuay - Thu Mar 15 08:59:44 EDT 2012
Triggered the post of the message pre-maturely (my bad)
for h in o do {
historyType = h.type
if(historyType==createLink) {
// get outgoing link info
for l in o -> "*" do {
LinkMod = module l
println(h.targetAbsNo)
println(goodStringOf(historyType))
}
//get Incomming link info
for l2 in o2 <- "*" do {
println(" DEBUG INCOMING SOURCE abs No : " sourceAbsNo(l2) "")
println(" DEBUG INCOMING TARGET abs No : " targetAbsNo(l2) "")
println(goodStringOf(historyType), 2)
}
}
}
Regards, Peter |
Re: Obtain In-comming link information using history (createLink) |
Re: Obtain In-comming link information using history (createLink) I don't think there is more information in that createLink history then there is in the Link itself. Since Links have attributes just like Objects and Modules, you could realistically ignore History do this: Plow through incomming links print (lnk."Created On") " by " (lnk."Created by") "\n" -Louie |